package com.mycjj.android.bean;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@JsonIgnoreProperties(ignoreUnknown = true)
public class MsgGetBaseBean implements Serializable {
	private static final long serialVersionUID = 1L;
	private int code;
	private String request;
	private String msg;
	private MsgGetBean data;
	
	
	public int getCode() {
		return code;
	}


	public void setCode(int code) {
		this.code = code;
	}


	public String getRequest() {
		return request;
	}


	public void setRequest(String request) {
		this.request = request;
	}


	public String getMsg() {
		return msg;
	}


	public void setMsg(String msg) {
		this.msg = msg;
	}


	public MsgGetBean getData() {
		return data;
	}


	public void setData(MsgGetBean data) {
		this.data = data;
	}


	@JsonIgnoreProperties(ignoreUnknown = true)
	public static class MsgGetBean implements Serializable {
		private static final long serialVersionUID = 1L;
		private int id; // 消息ID
		private int from_id; // 发送者ID
		private String from_name; // 发送者姓名
		private String content; // 消息内容
		private String time; // 发送时间
		public int getId() {
			return id;
		}
		public void setId(int id) {
			this.id = id;
		}
		public int getFrom_id() {
			return from_id;
		}
		public void setFrom_id(int from_id) {
			this.from_id = from_id;
		}
		public String getFrom_name() {
			return from_name;
		}
		public void setFrom_name(String from_name) {
			this.from_name = from_name;
		}
		public String getContent() {
			return content;
		}
		public void setContent(String content) {
			this.content = content;
		}
		public String getTime() {
			return time;
		}
		public void setTime(String time) {
			this.time = time;
		}
		
		
	}
}
